module.exports = function ($scope, $modalInstance, obj, title){

    $scope.obj = obj;
    $scope.title = title;
   
    //取消
    $scope.cancel = function () {
        $modalInstance.dismiss('cancel');
    }

};